//
//  AlgorithmPrepare.h
//  iBeaconDemo
//
//  Created by cry on 17/3/15.
//  Copyright © 2017年 eGova. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "TTPoint.h"
@class AlgorithmManager;
@protocol AlgorithmManagerDelegate <NSObject>

- (void)algorithmManager:(AlgorithmManager *)manager didUpdatePosition:(TTPoint *)point;
@end
/*  定位准备
    1.蓝牙，定位是否打开状态
    2.信号筛选，是否在同一层
 */
@interface AlgorithmManager : NSObject

@property (nonatomic, assign) BOOL isWorking;

@property (nonatomic, weak) id<AlgorithmManagerDelegate> delegate;
// 初始化
+ (instancetype)manager;
// 开始定位
- (void)start;
// 停止定位
- (void)stop;

@end
